/*
 *    Copyright (c) 2018-2025, zhulj All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are met:
 *
 * Redistributions of source code must retain the above copyright notice,
 * this list of conditions and the following disclaimer.
 * Redistributions in binary form must reproduce the above copyright
 * notice, this list of conditions and the following disclaimer in the
 * documentation and/or other materials provided with the distribution.
 * Neither the name of the pig4cloud.com developer nor the names of its
 * contributors may be used to endorse or promote products derived from
 * this software without specific prior written permission.
 * Author: zhulj (1147212910@qq.com)
 */

package com.cws4cloud.cws.admin.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 租户表
 *
 * @author zhulj
 * @date 2021-01-20 23:04:53
 */
@Data
@TableName("sys_tenant")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "租户表")
public class Tenant extends Model<Tenant> {
private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId
    @ApiModelProperty(value="主键")
    private Integer id;
    /**
     * 租户ID
     */
    @ApiModelProperty(value="租户ID")
    private String tenantId;
    /**
     * 租户名称
     */
    @ApiModelProperty(value="租户名称")
    private String tenantName;
    /**
     * 域名地址
     */
    @ApiModelProperty(value="域名地址")
    private String domain;
    /**
     * 联系人
     */
    @ApiModelProperty(value="联系人")
    private String linkman;
    /**
     * 联系电话
     */
    @ApiModelProperty(value="联系电话")
    private String contactNumber;
    /**
     * 联系地址
     */
    @ApiModelProperty(value="联系地址")
    private String address;
    /**
     * 创建人
     */
    @ApiModelProperty(value="创建人")
    private Integer createUser;
    /**
     * 创建时间
     */
    @ApiModelProperty(value="创建时间")
    private LocalDateTime createTime;
    /**
     * 修改人
     */
    @ApiModelProperty(value="修改人")
    private Integer updateUser;
    /**
     * 修改时间
     */
    @ApiModelProperty(value="修改时间")
    private LocalDateTime updateTime;
    /**
     * 状态
     */
    @ApiModelProperty(value="状态")
    private Integer status;
    /**
     * 是否已删除
     */
    @ApiModelProperty(value="是否已删除")
    private Integer delFlag;
    }
